package com.zle.controller.chart;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
@RequestMapping("/chart/device")
public class ChartController extends ChartAbstractController{
	/**
	 * 跳转至服务器信息
	 * @return
	 */
	@RequestMapping("/server_info_show.action")
	public String showServerInfoView(){
		
		return "/chart/server-info";
	}
	/**
	 * 跳转至服务器信息
	 * @return
	 */
	@RequestMapping("/server_info.action")
	@ResponseBody
	public Map<String,Object> getServerInfo(String type){
		
		return getCodeService().serviceInfo(type);
	}

}
